package fejezet20;

import javax.swing.JApplet;

public class AppletMetódusai1 extends JApplet {
  private int i=0;                                      //1

  @Override
  public void init() {
    System.out.println("init() metódus: i="+(++i));
  }

  @Override
  public void start() {
    System.out.println("start() metódus: i="+(++i));
  }

  @Override
  public void stop() {
    System.out.println("stop() metódus: i="+(++i));
  }

  @Override
  public void destroy() {
    System.out.println("destroy() metódus: i="+(++i));
  }
}